<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->

<div id="alpha">
<div id="alpha-inner">
<!--▼SUB NAVI-->
<!--{include file=$tpl_subnavi}-->
<!--▲SUB NAVI-->
</div>
</div>



<div id="beta">
<div id="beta-inner">
<form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" enctype="multipart/form-data">
<input type="hidden" name="mode" value="upload">

<div class="title_page">
<h2><!--{$tpl_subtitle}-->｜<!--{$template_name}--></h2>
</div>



<div class="menuclass">
<dl>

<!--{assign var=key value="template_code"}-->
<dt>テンプレートコード</dt>
<dd>
	<span class="red"><!--{$arrErr[$key]}--></span>
	<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54">
</dd>

<!--{assign var=key value="template_name"}-->
<dt>テンプレート名</dt>
<dd>
	<span class="red"><!--{$arrErr[$key]}--></span>
	<input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54">
</dd>

<!--{assign var=key value="template_file"}-->
<dt>テンプレートファイル<span class="red">※ファイル形式は.tar/.tar.gzのみ</span></dt>
<dd>
	<span class="red"><!--{$arrErr[$key]}--></span>
	<input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" class="box54" size="64" <!--{if $arrErr.template_file}-->style="background-color:<!--{$smarty.const.ERR_COLOR|escape}-->"<!--{/if}-->>
</dd>

</dl>
</div>



	<div class="btn_box">
	<input type="submit" value="アップロード" name="subm" />
	</div>

</form>

<script type="text/javascript">
function ChangeImage(strUrl)
{
	document.main_img.src=strUrl;
}

// モードとキーを指定してSUBMITを行う。
function lfnModeSubmit(mode) {
	if(!window.confirm('登録しても宜しいですか?')){
		return false;
	}
	document.form1['mode'].value = mode;
	return true;
}


</script>
</div>
</div>
